package dao;

import domain.Role;

import java.util.List;

public interface RoleDao {
    Role selectById(int id);

    int insert(Role supplier);

    int update(Role supplier);

    int delete(int id);

    List<Role> selectAll();
}
